<!--{subtemplate jameson_read:touch/header}-->
<div class="header">
  <div class="weui-flex">
    <div class="weui-flex__item header_left" onclick="javascript:history.go(-1);">
      <i class="fa fa-chevron-left"></i>
    </div>
    <div class="weui-flex__item header_title"><!--{$author}--></div>
    <div class="weui-flex__item header_right flex-2">
      <a href="{eval echo mbreurl('search',0);}">
        <i class="fa fa-search"></i>
      </a>
      <a href="javascript:;" class="open-popup" data-target="#bottomtab">
        <i class="fa fa-fw fa-bars"></i>
      </a>
    </div>
  </div>
</div>
<div class="weui-msg">
  <div class="">
      <img src="{eval echo avatar($books[0]['uid'],'middle',true);}">
  </div>
  <div class="weui-msg__text-area">
    <h2 class="weui-msg__title">
      <span class="text-danger"><!--{$author}--></span>
      <!--{lang jameson_read:fabudetushu}-->
      <span class="text-danger"><!--{$counts}--></span>
      <!--{lang jameson_read:bu}-->
    </h2>
    <p class="weui-msg__desc"></p>
  </div>
</div>
<!--{if $indexadv[0]['adv']}-->
<div class="weui-panel weui-media-box zdyadv">
  <div class="weui-panel__bd">
    <!--{eval echo stripcslashes($indexadv[0]['adv']);}-->
  </div>
</div>
<!--{/if}-->
<div class="weui-panel weui-panel_access">
  <div class="weui-panel__bd">
  <!--{if $books}-->
  <!--{loop $books $key $book}-->
      <a href="{eval echo mbreurl('book',$book['book_id']);}" class="weui-media-box weui-media-box_appmsg">
        <div class="weui-media-box__hd">
          <img class="weui-media-box__thumb" src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}">
        </div>
        <div class="weui-media-box__bd">
          <h4 class="weui-media-box__title"><!--{$book['book_name']}--></h4>
          <p class="weui-media-box__desc"><!--{$book['desco']}--></p>
        </div>
      </a>
    <!--{/loop}-->
  <!--{/if}-->
    </div>
    <div class="weui-panel__ft">
          <div class="weui-cell__bd">
            <div class="weui-flex">
              <!--{if $books}-->
              <!--{$pageshow}-->
              <!--{/if}-->
            </div>
          </div>
          <span class="weui-cell__ft"></span>
    </div>
</div>
<!--{if $indexadv[1]['adv']}-->
<div class="weui-panel weui-media-box zdyadv">
  <div class="weui-panel__bd">
    <!--{eval echo stripcslashes($indexadv[1]['adv']);}-->
  </div>
</div>
<!--{/if}-->
<!--{subtemplate jameson_read:touch/footer}-->